package com.issac.demo.pooled2.mypool;

/**
 * @author: ywy
 * @date: 2023-06-28
 * @desc:
 */
public class Test {
    public static void main(String[] args) {
        MyPool<ShareBike> myPool = new MyPool<>(5);

        for (int i = 0; i < 10; i++) {
            new Thread(new Person(myPool)).start();
        }
    }
}
